package com.kgis.fm.platform.model.metadata;

import com.kgis.kp.model.LifecycleModel;

/**
 * attribute
 * 
 * @author Simon He
 * @version 1.0
 */
public class Attribute extends LifecycleModel {

	private static final long serialVersionUID = 1L;
	
	/**
	 * 属性号
	 */
	private int ano;
	
	/**
	 * 组件号
	 */
	private int cno;
	
	/**
	 * 组件表名称
	 */
	private String table;
	
	/**
	 * 属性名称
	 */
	private String field;
	
	/**
	 * 字段中文名称
	 */
	private String name;
	
	/**
	 * 字段类型
	 */
	private int datatype;
	
	/**
	 * 是否必需
	 */
	private int required;
	
	/**
	 * 下拉列表号
	 */
	private int pno;
	
	/**
	 * 是否刷新图形
	 */
	private int refreshGeometry;
	
	public int getAno() {
		return ano;
	}

	public void setAno(int ano) {
		this.ano = ano;
	}
	
	public int getCno() {
		return cno;
	}

	public void setCno(int cno) {
		this.cno = cno;
	}
	
	public String getTable() {
		return table;
	}

	public void setTable(String table) {
		this.table = table;
	}
	
	public String getField() {
		return field;
	}

	public void setField(String value) {
		this.field = value;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public int getDatatype() {
		return datatype;
	}

	public void setDatatype(int value) {
		this.datatype = value;
	}
	
	public int getRequired() {
		return required;
	}

	public void setRequired(int value) {
		this.required = value;
	}
	
	public int getPno() {
		return pno;
	}

	public void setPno(int value) {
		this.pno = value;
	}
	
	public int getRefreshGeometry() {
		return refreshGeometry;
	}

	public void setRefreshGeometry(int value) {
		this.refreshGeometry = value;
	}
}
